package com.crazy.index.service.message;

import java.util.List;

import com.crazy.index.domain.Message;

public interface MessageService {

	public void add(Message message);

	/* (non-Javadoc)
	 * @see com.crazy.index.service.message.imp.MessageService#querys(java.lang.String, java.lang.Integer)
	 */
	public List<Message> querys(String messageType, Integer userId);
	/* (non-Javadoc)
	 * @see com.crazy.index.service.message.imp.MessageService#update(com.crazy.index.domain.Message)
	 */

	public void update(Message message);
	/* (non-Javadoc)
	 * @see com.crazy.index.service.message.imp.MessageService#delete(java.lang.Integer)
	 */

	public void delete(Integer id);
	
	
	public  Message query(Integer id);
	
	

}